<template>
  <h2>emit</h2>
  <Child @fn="fn" count="5" />
</template>

<script>
import Child from "./13-child.vue";

export default {
  components: { Child },
  setup() {
    const fn = () => {
      console.log("fn");
    };

    return {
      fn,
    };
  },
};
</script>
